package com.kingmed.kmss.admin.modules.ums.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kingmed.kmss.admin.modules.ums.model.UmsHrEmployee;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * <p>
 * EHR员工表(数据中台接口) Mapper 接口
 * </p>
 *
 * @author WYL
 * @since 2022-12-29
 */
public interface UmsHrEmployeeMapper extends BaseMapper<UmsHrEmployee> {

    @Delete("DELETE FROM ums_hr_employee ")
    int clearHrEmployee();
    
    int clearAdminOrgRelation(List<Long> crmAdminIds);
}
